<?php
	$mysqli = new mysqli("14.63.219.99", "erp", "nguyen","elihan");
	$query = mysqli_query($mysqli,"call getTotalDocument($id_employee)");	
	while($row = mysqli_fetch_array($query)){
		$num_re_pending = $row[RePendingDoc];
		$num_re_not_approve = $row[ReNotApprovedDoc];
		$num_re_approved = $row[ReApprovedDoc];
		$num_re_declined = $row[ReDeclinedDoc];
		$num_re_reference_approved = $row[ReRefApprovedDoc];
		$num_re_reference_waiting = $row[ReRefWaitingDoc];
	}
	
	mysqli_close($mysqli);
?>